package com.xuyiwei.mayi.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/**
 * Created by xuyiwei on 2019/4/23.
 */
@FeignClient(value = "service-member" ,fallback=MemberFeignService.class)
public interface MemberFeign {
    @RequestMapping("/getUserList")
    List<String> getOrderByUserList();

    @RequestMapping("/getPort")
    String getPort();
}
